﻿namespace CocoaAni.Net.WebSockets.Server.SendAdapters;

public class MessageSendStringMessageAdapter : MessageSendMessageAdapter<string>
{
    public override Task SendAsync(WebSocketContext context, string target, CancellationToken cancellationToken = default)
    {
        var socket = context.Socket;
        return socket.SendTextAsync(target, cancellationToken);
    }
}